package com.glsc.ngateway.common.base.repo.mysql.gateway.platform;


import com.glsc.ngateway.common.base.domain.mysql.gateway.platform.flow.FlowFormEquipmentOffline;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xuchang
 */
@Repository
public interface FlowFormEquipmentOfflineRepo extends JpaRepository<FlowFormEquipmentOffline, Long>, JpaSpecificationExecutor<FlowFormEquipmentOffline> {
    /**
     * 根据流程Id检索表单
     */
    FlowFormEquipmentOffline findByProcessId(String processId);

    List<FlowFormEquipmentOffline> findAllByProcessId(String processId);
}
